package cn.aj.fallback;

import cn.aj.domain.User;
import org.springframework.web.bind.annotation.PathVariable;

public class UserFallback {

    public static User loadUserFallback(@PathVariable Long id, Throwable throwable) {
        return new User(-1L, "我是类熔断", "我是类熔断");
    }
}
